package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.AgencyCertificationAudit;
import com.jzo2o.customer.model.dto.request.AgencyCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.AgencyCertificationAuditResDTO;

/**
 * <p>
 * 机构认证审核表 服务类
 * </p>
 *
 * @author mr.zhao
 * @since 2025-07-01
 */
public interface IAgencyCertificationAuditService extends IService<AgencyCertificationAudit> {

	/**
	 * 查询驳回原因
	 * @param userId
	 * @return
	 */
	String getRejectReason(Long userId);



	/**
	 * 审核机构认证信息
	 * @param certificationStatus
	 * @param id
	 * @param rejectReason
	 */
	void audit(Integer certificationStatus, Long id, String rejectReason);

	/**
	 * 分页查询审核信息
	 * @param dto
	 * @return
	 */
	PageResult<AgencyCertificationAuditResDTO> pageList(AgencyCertificationAuditPageQueryReqDTO dto);
}
